package com.ufox.mapper;

import com.ufox.entity.Result;
import com.ufox.entity.Staff;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ufox.entity.StaffPassword;
import com.ufox.req.PasswordREQ;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 员工信息表 Mapper 接口
 * </p>
 *
 * @author 优狐科技-www.hbufox.com
 * @since 2022-05-31
 */
public interface StaffMapper extends BaseMapper<Staff> {

    //修改用户密码 根据id
    @Update("update tb_staff set password = #{newPassword} where id = #{id}")
    int updatePasswordById(StaffPassword staffPassword);



}
